<?php
    
    function openTemp(){

    include("function-access.php");
    
    //echo $_SERVER['SCRIPT_NAME'];
    // echo "<pre>";
    // print_r(getRole());
    //print_r($_SESSION);
    // echo "</pre>";
    readCookie();
    isLogin();

    // print_r(getRole());

    //$tes = getPid($_SESSION['ses_idRole']);

    // echo "<pre>";
    // print_r($tes);
    // echo "</pre>";
    //echo $_COOKIE['c_islogin'];
?>
<!DOCTYPE html>
<html lang="en">          
  <head>
    <meta charset="utf-8" />
    <title>SEO</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <meta name="csrf-param" content="authenticity_token">
    <meta name="csrf-token" content="I+d..jI=">

    <!-- CSS -->
    <link href="../../css/bootstrap.css" rel="stylesheet" />
    <link href="../../css/DT_bootstrap.css" rel="stylesheet" />

    <!-- CSS untuk validasi -->

    <!-- JS untuk validasi -->
    <script type="text/javascript" src="../../js/jquery.js"></script>

    <style type="text/css">
    body{
      padding-top: 50px;
      padding-bottom: 40px;
    }
    .sidebar-nav{
      padding: 9px 0;
    }
    </style>

    <script type="text/javascript">
        $('document').ready(function(){
            //$("#formID").validationEngine();
            $('#konten').fadeIn('slow');
            $('#page-title').html($('.list-menu.active a').html());
        });
    </script>
             
        <link href="../../css/bootstrap-responsive.css" rel="stylesheet"> 

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->                    
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->                    

    <!-- Fav and touch icons -->                                   
    <link rel="shortcut icon" href="../../ico/favicon.ico">          
  </head>     

  <body class="white-bg">
    
    <div id="wrap" class="container-fluid">
<?php
    }
    
    function closeTemp(){
?>            
        <div id="push"></div>
    </div>

    <div id="footer" class="border-top">
      <div class="container-fluid">
        <p class="muted credit">Copyright &copy; 2013 <a href="http://www.it.unud.ac.id/">Jurusan Teknologi Informasi</a> <a href="http://www.unud.ac.id/">Universitas Udayana</a></p>
      </div>
    </div>        

    <!-- Le javascript ================================================== -->                     
    <!-- Placed at the end of the document so the pages load faster -->  
    <script src="../../js/bootstrap.js"></script>

    <!-- Jquery DataTable -->     
    <script src="../../js/jquery.dataTables.js"></script>         
    <script src="../../js/DT_bootstrap.js"></script>
    
  </body>
</html>
<?php
    }
?>